<template>
	<view class="main">
		<u-navbar
		title="我的收藏"
		title-size="34"
		back-icon-color="#ffffff"
		title-color="#ffffff"
		:border-bottom="false"
		:background="background">
		</u-navbar>
		<view class="content">
			<view class="item">
				<view class="left">
					<image src="" mode="" class="avatar"></image>
					<view class="user">
						<view class="name">张小萌</view>
						<view class="des">高级前端工程师</view>
					</view>
				</view>
				<view class="go">访问主页</view>
			</view>
			<view class="item">
				<view class="left">
					<image src="" mode="" class="avatar"></image>
					<view class="user">
						<view class="name">张小萌</view>
						<view class="des">高级前端工程师</view>
					</view>
				</view>
				<view class="go">访问主页</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				background: {
					backgroundColor:"#4A90E2"
				},
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		onPullDownRefresh() {
		    console.log('refresh');
		    setTimeout(function () {
		        uni.stopPullDownRefresh();
		    }, 1000);
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		min-height: 100vh;
		background-color: #f9f9f9;
		.content{
			padding: 0 30rpx;
			background-color: #FFFFFF;
			.item{
				padding: 30rpx 0;
				border-bottom: 1px solid #E6E6E6;
				display: flex;
				justify-content: space-between;
				align-items: flex-start;
				.left{
					display: flex;
					align-items: center;
					.avatar{
						width: 95rpx;
						height: 95rpx;
						border-radius: 50%;
					}
					.user{
						margin-left: 30rpx;
						.name{
							font-size: 32rpx;
							font-weight: 400;
							color: #333333;
							line-height: 32rpx;
						}
						.des{
							font-size: 28rpx;
							font-weight: 400;
							color: #888888;
							line-height: 40rpx;
							margin-top: 17rpx;
						}
					}
				}
				.go{
					font-size: 22rpx;
					font-weight: 400;
					color: #4A90E2;
					line-height: 30rpx;
				}
				&:last-child{
					border-bottom: 0;
				}
			}
		}
	}
</style>
